Visual Studio 2022 automatically closing when i try to open it

Visual Studio 2022 automatically closing when i try to open it


1- Launch your Visual Studio 2022 in Safe Mode (devenv.exe /SafeMode in Command Prompt).
2- Rename the folder VisualStudio to VisualStudio.Old in following path: C:\Users\<username>\AppData\Local\Microsoft\VSCommon\OnlineLicensing\VisualStudio.
3- Restart your Visual Studio.
Seyed Hamed Vahedi Seyed Hamed Vahedi     Thu, 14 March, 2024